package com.jsz.peini.bean.coupon;

import java.util.Date;

public class CouponInfo {
    private Integer id;
    //优惠券名称
    private String couponName;
    
    //优惠券类型
    private Integer couponType;
    //优惠券面值
    private Integer couponMoney;
    //优惠券发放数量
    private Integer couponNum;
    //优惠券状态
    private Integer couponState;
    //使用起始时间
    private String firstDateTime;
    //使用截止时间
    private String lastDateTime;
    //优惠券路径
    private String couponSrc;
    //使用规则以逗号分隔
    private String couponRule;
    //优惠金额
    private Integer ruleMoney;
    //自定义字段
    //
    private Integer getCouponType;
    //商家id
    private Integer sellerInfoId;
    //
    private Integer couponInfoBy;
    //
    private String userId;
    //领取类型
    private Integer getType;
    //领取数量
    private Integer getNum;
    //商家大类型
    private Integer sellerType;
    //商家小类型
    private Integer sellerLabel;
    
    private Long receivenum;

    private Long usenum;
    
    private Date lastedittime;
    
    private String lasteditperson;

    private String couponDesc;
    
    private Integer newUserAward;

    private Integer position;

    private String couponRuleText;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCouponName() {
        return couponName;
    }

    public void setCouponName(String couponName) {
        this.couponName = couponName;
    }

    public Integer getCouponType() {
        return couponType;
    }

    public void setCouponType(Integer couponType) {
        this.couponType = couponType;
    }

    public Integer getCouponMoney() {
        return couponMoney;
    }

    public void setCouponMoney(Integer couponMoney) {
        this.couponMoney = couponMoney;
    }

    public Integer getCouponNum() {
        return couponNum;
    }

    public void setCouponNum(Integer couponNum) {
        this.couponNum = couponNum;
    }

    public Integer getCouponState() {
        return couponState;
    }

    public void setCouponState(Integer couponState) {
        this.couponState = couponState;
    }

    public String getFirstDatetTime() {
        return firstDateTime;
    }

    public void setFirstDatetTime(String firstDateTime) {
        this.firstDateTime = firstDateTime;
    }

    public String getLastDateTime() {
        return lastDateTime;
    }

    public void setLastDateTime(String lastDateTime) {
        this.lastDateTime = lastDateTime;
    }

	public String getCouponSrc() {
		return couponSrc;
	}

	public void setCouponSrc(String couponSrc) {
		this.couponSrc = couponSrc;
	}

	public String getCouponRule() {
		return couponRule;
	}

	public void setCouponRule(String couponRule) {
		this.couponRule = couponRule;
	}

	public Integer getRuleMoney() {
		return ruleMoney;
	}

	public void setRuleMoney(Integer ruleMoney) {
		this.ruleMoney = ruleMoney;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public Integer getSellerInfoId() {
		return sellerInfoId;
	}

	public void setSellerInfoId(Integer sellerInfoId) {
		this.sellerInfoId = sellerInfoId;
	}

	public Integer getCouponInfoBy() {
		return couponInfoBy;
	}

	public void setCouponInfoBy(Integer couponInfoBy) {
		this.couponInfoBy = couponInfoBy;
	}

	public Integer getGetCouponType() {
		return getCouponType;
	}

	public void setGetCouponType(Integer getCouponType) {
		this.getCouponType = getCouponType;
	}

	public Integer getGetType() {
		return getType;
	}

	public void setGetType(Integer getType) {
		this.getType = getType;
	}

	public Integer getGetNum() {
		return getNum;
	}

	public void setGetNum(Integer getNum) {
		this.getNum = getNum;
	}

	public Integer getSellerType() {
		return sellerType;
	}

	public void setSellerType(Integer sellerType) {
		this.sellerType = sellerType;
	}

	public Integer getSellerLabel() {
		return sellerLabel;
	}

	public void setSellerLabel(Integer sellerLabel) {
		this.sellerLabel = sellerLabel;
	}

	public String getCouponDesc() {
		return couponDesc==null ? "" : couponDesc;
	}

	public void setCouponDesc(String couponDesc) {
		this.couponDesc = couponDesc;
	}

	public String getFirstDateTime() {
		return firstDateTime;
	}

	public void setFirstDateTime(String firstDateTime) {
		this.firstDateTime = firstDateTime;
	}

	public Long getReceivenum() {
		return receivenum;
	}

	public void setReceivenum(Long receivenum) {
		this.receivenum = receivenum;
	}

	public Long getUsenum() {
		return usenum;
	}

	public void setUsenum(Long usenum) {
		this.usenum = usenum;
	}

	public Date getLastedittime() {
		return lastedittime;
	}

	public void setLastedittime(Date lastedittime) {
		this.lastedittime = lastedittime;
	}

	public Integer getNewUserAward() {
		return newUserAward;
	}

	public void setNewUserAward(Integer newUserAward) {
		this.newUserAward = newUserAward;
	}

	public Integer getPosition() {
		return position;
	}

	public void setPosition(Integer position) {
		this.position = position;
	}

	public String getCouponRuleText() {
		return couponRuleText;
	}

	public void setCouponRuleText(String couponRuleText) {
		this.couponRuleText = couponRuleText;
	}

	public String getLasteditperson() {
		return lasteditperson;
	}

	public void setLasteditperson(String lasteditperson) {
		this.lasteditperson = lasteditperson;
	}

}